﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QuanLyThuNgan
{
    public partial class Frm_InHetCa : DevExpress.XtraEditors.XtraForm
    {
        public Frm_InHetCa()
        {
            InitializeComponent();
        }

        private void Frm_InHetCa_Load(object sender, EventArgs e)
        {
            if (printControl1.PrintingSystem != null)
            {
                printControl1.PrintingSystem = null;
            }
            rpt_InHetCa rptHC = new rpt_InHetCa();
            printControl1.PrintingSystem = rptHC.PrintingSystem;
            rptHC.CreateDocument();
            rptHC.RequestParameters = false;
        }
    }
}